package io.renren.modules.substation.service.impl;

import io.renren.modules.sys.entity.SysUserEntity;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import io.renren.modules.substation.dao.TInfoParticalConfigDao;
import io.renren.modules.substation.entity.TInfoParticalConfigEntity;
import io.renren.modules.substation.service.TInfoParticalConfigService;


@Service("tInfoParticalConfigService")
public class TInfoParticalConfigServiceImpl extends ServiceImpl<TInfoParticalConfigDao, TInfoParticalConfigEntity> implements TInfoParticalConfigService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<TInfoParticalConfigEntity> page = this.page(
                new Query<TInfoParticalConfigEntity>().getPage(params),
                new QueryWrapper<TInfoParticalConfigEntity>()
        );

        return new PageUtils(page);
    }
    @Override
    public TInfoParticalConfigEntity queryByDevCode(String devCode)
    {
        return baseMapper.queryByDevCode(devCode);
    }



}